<?php Pants::partial('includes/header'); ?>

<h2><?php echo htmlentities($pageTitle); ?></h2>

<?php Pants::partial('includes/article/edit'); ?>

<?php if ($preview): ?>
  <h2>Preview</h2>
  <?php Pants::partial('includes/article/'.PANTS_COMPACT); ?>
<?php endif; ?>

<?php Pants::partial('includes/footer'); ?>